/*
 * @Date: 2024-08-26 09:23:53
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-08-26 09:24:36
 * @Description: 
 */
export default {
  type: 'file-upload',
  icon: 'file-upload-field',
  // 排序
  order: 130,
  // 是否启用
  enabled: false,
  formItemFlag: true,
  options: {
    name: '',
    label: '',
    labelAlign: '',
    labelWidth: null,
    labelHidden: false,
    columnWidth: '200px',
    disabled: false,
    hidden: false,
    required: false,
    requiredHint: '',
    customRule: '',
    customRuleHint: '',
    //-------------------
    uploadURL: '',
    uploadTip: '',
    withCredentials: false,
    multipleSelect: false,
    showFileList: true,
    limit: 3,
    fileMaxSize: 5, //MB
    fileTypes: ['doc', 'docx', 'xls', 'xlsx'],
    //headers: [],
    //-------------------
    customClass: '',  //自定义css类名
    labelIconClass: null,
    labelIconPosition: 'rear',
    labelTooltip: null,
    //-------------------
    onCreated: '',
    onMounted: '',
    onBeforeUpload: '',
    onUploadSuccess: '',
    onUploadError: '',
    onFileRemove: '',
    onValidate: '',
    //onFileChange: '',
  },
}